import i18n from '@/lang'
export const blackColumns = [
  {
    title: 'VIN',
    dataIndex: 'vin',
    width: 120,
    scopedSlots: { customRender: 'vin' }
  },
  {
    title: i18n.t('partNumber'),
    key: 'partNumber',
    width: 120,
    scopedSlots: { customRender: 'partNumber' }
  },
  {
    title: i18n.t('partName'),
    key: 'partName',
    width: 120,
    scopedSlots: { customRender: 'partName' }
  },
  {
    title: i18n.t('campaignName'),
    key: 'partNumber',
    width: 120,
    scopedSlots: { customRender: 'taskName' }
  },
  {
    title: i18n.t('originalVersion'),
    key: 'originalVersion',
    width: 120,
    scopedSlots: { customRender: 'originalVersion' }
  },
  {
    title: i18n.t('lastFailureTime'),
    key: 'createTime',
    scopedSlots: { customRender: 'createTime' },
    width: 180
  },
  {
    title: i18n.t('failureReason'),
    key: 'reasonType',
    width: 100,
    scopedSlots: { customRender: 'reasonType' }
  },
  {
    slots: { title: 'actionTile' },
    width: 80,
    key: 'actionTile',
    scopedSlots: { customRender: 'action' }
  }
]
